Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test for age_from_chi #125

Merged
merged 4 commits into from
Jan 5, 2024
Merged

Fix test for age_from_chi #125

merged 4 commits into from
Jan 5, 2024

Conversation

Tina815
Copy link
Contributor

@Tina815 Tina815 commented Jan 5, 2024

Some tests failed due to a helper function expected_age which makes the actual and expected age different when the new year comes. So it has been replaced with a fixed reference date.

@Tina815 Tina815 requested a review from Moohan January 5, 2024 14:44
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0d02fbf) 97.40% compared to head (f5b8be2) 97.40%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #125   +/-   ##
=======================================
  Coverage   97.40%   97.40%           
=======================================
  Files          13       13           
  Lines         424      424           
=======================================
  Hits          413      413           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Moohan
Copy link
Member

Moohan commented Jan 5, 2024

Looks good, just waiting for the tests to pass. Do we need to increment the version number for this since it will be released on CRAN again?

E.g. https://readr.tidyverse.org/news/index.html#readr-214

@Tina815 Tina815 merged commit c432ad5 into master Jan 5, 2024
17 checks passed
@Tina815 Tina815 deleted the fix-test branch January 5, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants